package com.tgo.android.common.entities;

import com.google.android.gms.maps.model.LatLng;

public class Offer 
{
	private String _title;
	private LatLng _position;
	private String _description;
	
	public Offer()
	{
		_title = "";
		_position = null;
		_description = "";
	}

	public String getTitle() {
		return _title;
	}

	public void setTitle(String title) {
		this._title = title;
	}

	public LatLng getPosition(){
		return _position;
	}
	public double getLatitude() {
		return _position.latitude;
	}
	public double getLongitude() {
		return _position.longitude;
	}
	public void setPosition(LatLng position) {
		this._position = position;
	}

	public String getDescription() {
		return _description;
	}

	public void setDescription(String description) {
		this._description = description;
	}
	
	public LatLng getLocation()
	{
		return new LatLng(getLatitude(),getLongitude());
	}
	
}
